package com.wulin.wucut.service.impl;

import com.wulin.wucut.common.SuffixConstant;
import com.wulin.wucut.domain.request.CreateDraftContentRequest;
import com.wulin.wucut.service.ContentService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import static com.wulin.wucut.common.JianYinConstant.DRAFT_CONTENT;
@Service
public class ContentServiceImpl implements ContentService {
    @Value("${jianyin.draft.directory}")
    private String draftDirectory;
    @Override
    public void createContent(CreateDraftContentRequest request) {
        String draftName = request.getDraftName();
        String draftContentPath = draftDirectory + "/" + draftName + "/" + DRAFT_CONTENT + SuffixConstant.JSON;
        
    }
}
